
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { VisitRecordComponent } from './visit-record/visit-record.component';
import { VisitTaskComponent } from './visit-task/visit-task.component';
import { VisitThemeComponent } from './visit-theme/visit-theme.component';

const routes: Routes = [
	{
		path: 'visit-theme',
		component: VisitThemeComponent,
	},
	{
		path: 'visit-task',
		component: VisitTaskComponent,
	},
	{
		path: 'visit-record/:id',
		component: VisitRecordComponent,
	}
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class VisitRoutingModule { }
